Skip to content

Instantly share code, notes, and snippets.

@HectorPulido
HectorPulido / docker-compose.yaml
Last active October 10, 2026 19:49
Jellyfin automation
services:
qbittorrent:
container_name: qbittorrent
image: lscr.io/linuxserver/qbittorrent:latest
networks:
- mynetwork
environment:
- PUID=1000
- PGID=1000
- TZ=America/Bogota

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@iwanbk
iwanbk / gist:2295233
Created April 3, 2012 20:15
TCP Echo Client in Golang
package main
import (
"net"
"os"
)
func main() {
strEcho := "Halo"
servAddr := "localhost:6666"
tcpAddr, err := net.ResolveTCPAddr("tcp", servAddr)
@kaczmar2
kaczmar2 / 1-pihole-v6-self-signed-certs.md
Last active October 10, 2026 19:39
Pi-hole v6: Creating Your Own Self-Signed SSL Certificates

Pi-hole v6: Creating Your Own Self-Signed SSL Certificates

This guide has moved. It is now maintained at github.com/kaczmar2/pihole-ssl-guide, which now fully automates this process with scripts. The manual steps below remain for reference, but are no longer updated here.

See my other guides for SSL certificates on Pi-hole v6:

@aaronjamt
aaronjamt / README.md
Created May 30, 2026 04:25
Export all custom emojis from all Discord servers

To use this, open the developer console, enable pasting, and copy+paste the script. Open the emoji picker (make sure all the servers you want included are un-collapsed) and scroll to the top. Leave it open and run getEmojis(); in the console. It will scroll through the list, moving down every 750ms. Once it either reaches the bottom, or you're satisfied with the number collected, run finished(); and copy the output. Paste it into a file in an empty folder and execute it as a Linux shell script (/bin/bash or similar). It will create a folder for each server, then download all of their emojis.

Based on https://gist.github.com/junebug12851/8c5c42587a824c22a79359fb56b4023d

aahed
aalii
aapas
aargh
aarti
abaca
abaci
aback
abacs
abaft
aahed
aalii
aargh
aarti
abaca
abaci
abacs
abaft
abaka
abamp
@cnu
cnu / download.go
Created December 2, 2018 19:23
Download files in Go
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
@nuhil
nuhil / usage.rst
Created July 15, 2017 03:15
Miniconda Commands

Managing environments

With conda, you can create, export, list, remove, and update environments that have different versions of Python and/or packages installed in them. Switching or moving between environments is called activating the environment. You can even share an environment file with a coworker.

Anytime you wish to see the full documentation for any command, type the command followed by --help. For example, to learn about the conda environment command:

@majest
majest / main.go
Last active October 10, 2026 19:30
Sqlite with GORM using UUID
package main
import (
"database/sql"
sqliteGo "github.com/mattn/go-sqlite3"
uuid "github.com/satori/go.uuid"
log "github.com/sirupsen/logrus"
"gorm.io/driver/sqlite"
"gorm.io/gorm"
"gorm.io/gorm/logger"